#ifndef DELEGATEBASE_H
#define DELEGATEBASE_H

#include <QItemDelegate>
#include "ItemBase.h"
#include "Scene.h"

class DelegateBase : public QItemDelegate
{
	Q_OBJECT

public:
	DelegateBase(QString type, QObject *parent);
	~DelegateBase();

public slots:
	void setupPanel(const QString& name);
signals:
	void showPanel(const QString& type, const QString& name);
protected:
	Scene *scene;
	QString type;
	
};

#endif // DELEGATEBASE_H
